package com.goods.pojo;

import java.io.Serializable;
import java.util.Date;
import java.util.Map;


/**
 * The persistent class for the IPTV_USER database table.
 * 机顶盒帐号表
 */

public class IptvUserBean implements Serializable {
	private static final long serialVersionUID = 1L;

	private Integer id;
	private Date activationtime; // 激活时间
	private Integer category;// 用户分类	0：普通用户	1：QA用户 ,2VIP用户

	/**
	 * 用户对应的EPG 分组信息标识，格式：A1A2B1B2B3C1C2C3
		A1A2：省份标识，参照vnet 标识方法，如：.. SH：上海.. HI：海南 
		B1B2B3：用户类型标识；
		C1C2C3：保留
	 */
	private String epggroupnmb;//主EPG栏目根节点
	private String epggroupnmb2;//附EPG栏目根节点
	private String mobileepggroupnmb;//手机栏目根节点
	private Integer installflag;//标志STB安装情况，用户激活时，由AAA填入	0：未安装STB	1：已安装STB
	private Integer iptvgroupid;//机顶盒帐号组ID
	private String iptvgroupname; // 此属性为机顶盒帐号组名,@Transient表示忽略与数据映射，表中无此字段
	private Date logintime;//登录时间
	private Integer loginStatus;//登录状态
	private int rpcStatus;//RPC连接状态
	private Date lastonlinetime;//上次在线时间
	private String onlinetime;//在线时长
	private int loginCount;//当天登录次数
	private Integer onlinestatus; // 在线状态0 - 离线（关电）	1 - 在线（开电）
	private String password;
	private Date registertime; //注册时间
	private String smpStbid; // 机顶盒ID
	private Integer status; //状态	0：未激活	1：有效	2：用户半停	3：用户全停	4：欠费半停	5：欠费全停	6：预拆	7：拆机 8:回收
	private String usergroupnmb; // Same as OSS DB ServiceGroup.ServiceGroupCode
	private String userid; // 业务号码	Same as OSS DB Service.ServiceCode	，这里也是客户端用户登录的用户名。（名厨亮灶userid即sn号）
	private String usertoken; // 为该用户分配的临时身份证明
	private String encrytoken;
	private Date tokenexpiredtime;
	private String name;//机顶盒用户名，相当于昵称
	private String address;//机顶盒安装地址
	private Integer guarantee;//押金
	private Integer accountType;//账户类型
	private String device_id;//设备标识uuid
	private int customerid;//客户编号
	private int paytype;//付费的方式 0后付费，1预付费，2外部代收费
	private String wifimac;//wifi的mac地址
	private String appversion; //APK软件版本
	private String firmware; //ROM固件版本
	private String firmwareversion; //rom版本号
	private String apptype;//app类型,分为StarviewTV，Hotel，RTV等
	private int downloadnumber;//广告下载时间；
	private Date effectiveTime;//该账户有效时间
	private String iptvUserName;//机顶盒安装地址
	private  Integer cpspid;
	private int showstatus;//次账号是否在页面上做显示，0显示，1，不显示
	private Integer userGroup;
	private String userGroupName;
	private String sessionid;
	private int systemuserid;
	private int balance;//余额
	private  int wallet;
	private String ringLetterPassword;//环信密码
	private  String  agent;	
	private Integer isReporting;//是否上报网络数据（0：不上报  1：上报）
	private String hotspotId;//热点id
	private Long deviceTotal;//连接热点的总设备数
	private String headOfficeCode;//总公司
	private String subCompany;//子公司
	private String staff;//代理商
	private int uploadlogStatus;//日志上传开关处理状态： 0：默认；1：正在下发；2：已下发；3：下发失败；
	private int uploadlogSwitch;//日志上传开关： 0：关；1：开；
	private Date uploadlogLasttime;//日志上传开关最后操作时间
	private int rebootStatus;//重启开关处理状态： 0：默认；1：正在下发；2：已下发；3：下发失败；
	private Date rebootLasttime;//设备最后重启时间
	private String mapPortNumber;//设备映射端口号
	private String deviceAlias;//设备别名
	private int businessid;
	private String InstallationLocation;//安装位置
	private Integer lookbackHours;//设备云录时长
	private Date instalTime;//安装时间
	private String streamType;//清晰度；SD:标清；HD:高清；UHD:超清
	private String macaddress;//设备mac地址
	private String wanIP;
	private String isp;
	private String area;
	private String preview;
	private String lookBack;
	private String businessName;
	private String businessAddress;
	private String businessMobile;
	private Integer foodSafetyRating;
	private String principal;//负责人
	private String permitNumber;//许可证编号
	private int playCounts;//IPC设备直播播放次数
	private String installStatistics;//安装情况统计
	private Map<String,Object> rtmpUrlMes;//设备在线时，相关的rtmp信息
	private String deviceType;//ipc设备类型
	private Integer streamstatus;//播流状态：0：未播；1：在播；
	
	public String getAgent() {
		return agent;
	}
	public void setAgent(String agent) {
		this.agent = agent;
	}
	public int getBalance() {
		return balance;
	}
	public void setBalance(int balance) {
		this.balance = balance;
	}
	public int getSystemuserid() {
		return systemuserid;
	}
	public void setSystemuserid(int systemuserid) {
		this.systemuserid = systemuserid;
	}
	public Integer getUserGroup() {
		return userGroup;
	}
	public void setUserGroup(Integer userGroup) {
		this.userGroup = userGroup;
	}
	public Integer getCpspid() {
		return cpspid;
	}
	public void setCpspid(Integer cpspid) {
		this.cpspid = cpspid;
	}

    public IptvUserBean() {
    }

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Date getActivationtime() {
		return this.activationtime;
	}

	public void setActivationtime(Date activationtime) {
		this.activationtime = activationtime;
	}

	public Integer getCategory() {
		return this.category;
	}

	public void setCategory(Integer category) {
		this.category = category;
	}

	public String getEpggroupnmb() {
		return this.epggroupnmb;
	}

	public void setEpggroupnmb(String epggroupnmb) {
		this.epggroupnmb = epggroupnmb;
	}

	public Integer getInstallflag() {
		return this.installflag;
	}

	public void setInstallflag(Integer installflag) {
		this.installflag = installflag;
	}

	public Integer getIptvgroupid() {
		return this.iptvgroupid;
	}

	public void setIptvgroupid(Integer iptvgroupid) {
		this.iptvgroupid = iptvgroupid;
	}

	public Date getLogintime() {
		return this.logintime;
	}

	public void setLogintime(Date logintime) {
		this.logintime = logintime;
	}

	public Integer getOnlinestatus() {
		return this.onlinestatus;
	}

	public void setOnlinestatus(Integer onlinestatus) {
		this.onlinestatus = onlinestatus;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Date getRegistertime() {
		return registertime;
	}

	public void setRegistertime(Date registertime) {
		this.registertime = registertime;
	}

	public String getSmpStbid() {
		return this.smpStbid;
	}

	public void setSmpStbid(String smpStbid) {
		this.smpStbid = smpStbid;
	}

	public Integer getStatus() {
		return this.status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getUsergroupnmb() {
		return this.usergroupnmb;
	}

	public void setUsergroupnmb(String usergroupnmb) {
		this.usergroupnmb = usergroupnmb;
	}

	public String getUserid() {
		return this.userid;
	}

	public void setUserid(String userid) {
		this.userid = userid;
	}

	public String getUsertoken() {
		return this.usertoken;
	}

	public void setUsertoken(String usertoken) {
		this.usertoken = usertoken;
	}

	public String getIptvgroupname() {
		return iptvgroupname;
	}

	public void setIptvgroupname(String iptvgroupname) {
		this.iptvgroupname = iptvgroupname;
	}

	public String getEncrytoken() {
		return encrytoken;
	}

	public void setEncrytoken(String encrytoken) {
		this.encrytoken = encrytoken;
	}

	public Date getTokenexpiredtime() {
		return tokenexpiredtime;
	}
	public void setTokenexpiredtime(Date tokenexpiredtime) {
		this.tokenexpiredtime = tokenexpiredtime;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public int getCustomerid() {
		return customerid;
	}

	public void setCustomerid(int customerid) {
		this.customerid = customerid;
	}

	public int getPaytype() {
		return paytype;
	}

	public void setPaytype(int paytype) {
		this.paytype = paytype;
	}

	public String getWifimac() {
		return wifimac;
	}

	public void setWifimac(String wifimac) {
		this.wifimac = wifimac;
	}

	public String getAppversion() {
		return appversion;
	}

	public void setAppversion(String appversion) {
		this.appversion = appversion;
	}

	public String getFirmware() {
		return firmware;
	}

	public void setFirmware(String firmware) {
		this.firmware = firmware;
	}

	public String getFirmwareversion() {
		return firmwareversion;
	}

	public void setFirmwareversion(String firmwareversion) {
		this.firmwareversion = firmwareversion;
	}

	public String getApptype() {
		return apptype;
	}

	public void setApptype(String apptype) {
		this.apptype = apptype;
	}
	public Date getEffectiveTime() {
		return effectiveTime;
	}

	public void setEffectiveTime(Date effectiveTime) {
		this.effectiveTime = effectiveTime;
	}
	public Integer getGuarantee() {
		return guarantee;
	}
	public void setGuarantee(Integer guarantee) {
		this.guarantee = guarantee;
	}
	public int getDownloadnumber() {
		return downloadnumber;
	}
	public void setDownloadnumber(int downloadnumber) {
		this.downloadnumber = downloadnumber;
	}
	public String getUserGroupName() {
		return userGroupName;
	}
	public void setUserGroupName(String userGroupName) {
		this.userGroupName = userGroupName;
	}
	public int getShowstatus() {
		return showstatus;
	}
	public void setShowstatus(int showstatus) {
		this.showstatus = showstatus;
	}

	public Integer getAccountType() {
		return accountType;
	}
	public void setAccountType(Integer accountType) {
		this.accountType = accountType;
	}

	public String getSessionid() {
		return sessionid;
	}
	public void setSessionid(String sessionid) {
		this.sessionid = sessionid;
	}
	public String getDevice_id() {
		return device_id;
	}
	public void setDevice_id(String device_id) {
		this.device_id = device_id;
	}
	public int getWallet() {
		return wallet;
	}
	public void setWallet(int wallet) {
		this.wallet = wallet;
	}
	public String getRingLetterPassword() {
		return ringLetterPassword;
	}
	public void setRingLetterPassword(String ringLetterPassword) {
		this.ringLetterPassword = ringLetterPassword;
	}
	
	public String getMobileepggroupnmb() {
		return mobileepggroupnmb;
	}
	public void setMobileepggroupnmb(String mobileepggroupnmb) {
		this.mobileepggroupnmb = mobileepggroupnmb;
	}
	public String getEpggroupnmb2() {
		return epggroupnmb2;
	}
	public void setEpggroupnmb2(String epggroupnmb2) {
		this.epggroupnmb2 = epggroupnmb2;
	}
	public Integer getIsReporting() {
		return isReporting;
	}
	public void setIsReporting(Integer isReporting) {
		this.isReporting = isReporting;
	}
	public String getHotspotId() {
		return hotspotId;
	}
	public void setHotspotId(String hotspotId) {
		this.hotspotId = hotspotId;
	}
	public Long getDeviceTotal() {
		return deviceTotal;
	}
	public void setDeviceTotal(Long deviceTotal) {
		this.deviceTotal = deviceTotal;
	}
	public String getHeadOfficeCode() {
		return headOfficeCode;
	}
	public void setHeadOfficeCode(String headOfficeCode) {
		this.headOfficeCode = headOfficeCode;
	}
	public String getSubCompany() {
		return subCompany;
	}
	public void setSubCompany(String subCompany) {
		this.subCompany = subCompany;
	}
	public String getStaff() {
		return staff;
	}
	public void setStaff(String staff) {
		this.staff = staff;
	}
	public Integer getLoginStatus() {
		return loginStatus;
	}
	public void setLoginStatus(Integer loginStatus) {
		this.loginStatus = loginStatus;
	}
	public int getRpcStatus() {
		return rpcStatus;
	}
	public void setRpcStatus(int rpcStatus) {
		this.rpcStatus = rpcStatus;
	}
	public int getUploadlogStatus() {
		return uploadlogStatus;
	}
	public void setUploadlogStatus(int uploadlogStatus) {
		this.uploadlogStatus = uploadlogStatus;
	}
	public int getUploadlogSwitch() {
		return uploadlogSwitch;
	}
	public void setUploadlogSwitch(int uploadlogSwitch) {
		this.uploadlogSwitch = uploadlogSwitch;
	}
	public Date getUploadlogLasttime() {
		return uploadlogLasttime;
	}
	public void setUploadlogLasttime(Date uploadlogLasttime) {
		this.uploadlogLasttime = uploadlogLasttime;
	}
	public int getRebootStatus() {
		return rebootStatus;
	}
	public void setRebootStatus(int rebootStatus) {
		this.rebootStatus = rebootStatus;
	}
	public Date getRebootLasttime() {
		return rebootLasttime;
	}
	public void setRebootLasttime(Date rebootLasttime) {
		this.rebootLasttime = rebootLasttime;
	}
	public String getMacaddress() {
		return macaddress;
	}
	public void setMacaddress(String macaddress) {
		this.macaddress = macaddress;
	}
	public Date getLastonlinetime() {
		return lastonlinetime;
	}
	public void setLastonlinetime(Date lastonlinetime) {
		this.lastonlinetime = lastonlinetime;
	}
	public String getOnlinetime() {
		return onlinetime;
	}
	public void setOnlinetime(String onlinetime) {
		this.onlinetime = onlinetime;
	}
	public int getLoginCount() {
		return loginCount;
	}
	public void setLoginCount(int loginCount) {
		this.loginCount = loginCount;
	}
	public String getMapPortNumber() {
		return mapPortNumber;
	}
	public void setMapPortNumber(String mapPortNumber) {
		this.mapPortNumber = mapPortNumber;
	}
	public String getWanIP() {
		return wanIP;
	}
	public void setWanIP(String wanIP) {
		this.wanIP = wanIP;
	}
	public String getIsp() {
		return isp;
	}
	public void setIsp(String isp) {
		this.isp = isp;
	}
	public String getArea() {
		return area;
	}
	public void setArea(String area) {
		this.area = area;
	}
	public String getDeviceAlias() {
		return deviceAlias;
	}
	public void setDeviceAlias(String deviceAlias) {
		this.deviceAlias = deviceAlias;
	}
	public String getPreview() {
		return preview;
	}
	public void setPreview(String preview) {
		this.preview = preview;
	}
	public String getLookBack() {
		return lookBack;
	}
	public void setLookBack(String lookBack) {
		this.lookBack = lookBack;
	}
	public String getBusinessName() {
		return businessName;
	}
	public void setBusinessName(String businessName) {
		this.businessName = businessName;
	}
	public String getBusinessAddress() {
		return businessAddress;
	}
	public void setBusinessAddress(String businessAddress) {
		this.businessAddress = businessAddress;
	}
	public String getBusinessMobile() {
		return businessMobile;
	}
	public void setBusinessMobile(String businessMobile) {
		this.businessMobile = businessMobile;
	}
	public Integer getFoodSafetyRating() {
		return foodSafetyRating;
	}
	public void setFoodSafetyRating(Integer foodSafetyRating) {
		this.foodSafetyRating = foodSafetyRating;
	}
	public String getPrincipal() {
		return principal;
	}
	public void setPrincipal(String principal) {
		this.principal = principal;
	}
	public String getPermitNumber() {
		return permitNumber;
	}
	public void setPermitNumber(String permitNumber) {
		this.permitNumber = permitNumber;
	}
	public int getBusinessid() {
		return businessid;
	}
	public void setBusinessid(int businessid) {
		this.businessid = businessid;
	}
	public String getInstallationLocation() {
		return InstallationLocation;
	}
	public void setInstallationLocation(String installationLocation) {
		InstallationLocation = installationLocation;
	}
	public Integer getLookbackHours() {
		return lookbackHours;
	}
	public void setLookbackHours(Integer lookbackHours) {
		this.lookbackHours = lookbackHours;
	}
	public int getPlayCounts() {
		return playCounts;
	}
	public void setPlayCounts(int playCounts) {
		this.playCounts = playCounts;
	}
	public String getInstallStatistics() {
		return installStatistics;
	}
	public void setInstallStatistics(String installStatistics) {
		this.installStatistics = installStatistics;
	}
	public Map<String, Object> getRtmpUrlMes() {
		return rtmpUrlMes;
	}
	public void setRtmpUrlMes(Map<String, Object> rtmpUrlMes) {
		this.rtmpUrlMes = rtmpUrlMes;
	}
	public Date getInstalTime() {
		return instalTime;
	}
	public void setInstalTime(Date instalTime) {
		this.instalTime = instalTime;
	}
	public String getDeviceType() {
		return deviceType;
	}
	public void setDeviceType(String deviceType) {
		this.deviceType = deviceType;
	}
	public String getStreamType() {
		return streamType;
	}
	public void setStreamType(String streamType) {
		this.streamType = streamType;
	}
	public Integer getStreamstatus() {
		return streamstatus;
	}
	public void setStreamstatus(Integer streamstatus) {
		this.streamstatus = streamstatus;
	}
	
}